const obj = {};

Object.defineProperty(obj, 'name', { value: 'peter' });

console.log(`obj name is : ${obj.name}`);

console.log(`name description: `, Object.getOwnPropertyDescriptor(obj, 'name'));

obj.age = 34;

Object.defineProperties(obj, [{ gender: 'woman' }]);

console.log('obj description', Object.getOwnPropertyDescriptors(obj));
